package com.cmc.cloud.cmclink.doc.api.document.req.soamendapplyvo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 订舱修改申请审批表主分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱修改申请审批表主分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SoAmendApplyPageReqVO extends PageParam {

    @Schema(description = "修改申请号 订单号11位+SO+yy+mm+dd+hh4+mi+ss")
    private String soAmendApplyNo;

    @Schema(description = "申请记录状态", example = "1")
    private String soAmendStatus;

    @Schema(description = "修改id", example = "19869")
    private Long soId;

    @Schema(description = "订舱号")
    private String bookingNo;

    @Schema(description = "申请人")
    private String applyUser;

    @Schema(description = "申请时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] applyTime;

    @Schema(description = "审批人")
    private String approveUser;

    @Schema(description = "审批时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] approveTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
